<form class="layui-form layui-form-pane" lay-filter="FormBaseConstIpEdit" action="/base/const/ip/edit">
    <input type="hidden" id="id" name="id" th:value="${entity.id}">
    <div class="layui-row p-l-sm m-b-xl">
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-input('text','省份编码','provinceId','layui-col-md6',32,'required',${entity.provinceId})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','省份名称','provinceName','layui-col-md6',32,'required',${entity.provinceName})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','城市编码','cityId','layui-col-md6',32,'required',${entity.cityId})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','城市名称','cityName','layui-col-md6',32,'required',${entity.cityName})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','经纬度X','pointX','layui-col-md6',128,'',${entity.pointX})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','经纬度Y','pointY','layui-col-md6',128,'',${entity.pointY})"></div>
        </div>
    </div>
</form>
<script>
    layui.use('form', function () {
        let form = layui.form;
        form.render();
    });
</script>